import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

import '../../AppConfig/Config.dart';
import '../../l10n/messages.dart';

class BindingSuccessful extends StatefulWidget {
  const BindingSuccessful({super.key});

  @override
  State<BindingSuccessful> createState() => _BindingSuccessfulState();
}

class _BindingSuccessfulState extends State<BindingSuccessful> {
  @override
  Widget build(BuildContext context) {
    var messages = AppLocalizations.of(context)!;
    final screenSize = MediaQuery.of(context).size;
    return Scaffold(
      backgroundColor: Colors.white,
      appBar: AppBar(
        backgroundColor: Colors.white,
        centerTitle: true,

        title: Text('结果',style: TextStyle(color: Colors.black,fontWeight: FontWeight.w300,fontSize: 16.sp),),
        leading: SizedBox(),
        actions: [
          TextButton(onPressed: (){
            Navigator.pop(context);
          },
            child: Text("完成",style: TextStyle(color: Color.fromRGBO(29, 195, 75, 1),fontWeight: FontWeight.w600),),),
        ],
      ),
      body: ListView(
        children: [
          Column(
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              SizedBox(height: 29.h,),
              Image.asset("lib/Images/PersonCenter/成功绿色对勾icon.png",width:60.w ,height: 60.h,),
              SizedBox(height: 24.h,),
              Text("绑定成功",style: TextStyle(color: Colors.black,fontSize: 18.sp),),
              Text("成功绑定"+"中国银行储蓄卡",style: TextStyle(color: MyColors.textColor),),
            ],
          ),


        ],
      ),
    );
  }
}
